//-----------------------------------------------------------------------------------------------------//
//																	                                   //
// ordered_pair.cpp  contains implementation of the ordered pair									   //
//																									   //
// author	: Eng. Ahmed Yasser																		   //
// data		: 21-01-2015																			   //
//																	                                   //
//-----------------------------------------------------------------------------------------------------//
#include "..\include\ordered_pair.h"

ordered_pair create_ordered_pair(float x, float y)
{
	ordered_pair pair;
	pair.x = x;
	pair.y = y;
	return pair;
}

std::string print_ordered_pair(const ordered_pair& pair)
{
	std::stringstream s_stream;
	s_stream << "(" << pair.x << "," << pair.y << ")";
	return s_stream.str();
}